package com.okami.designpatterns.single;

/**
 * @author: TanJingyu
 * @create: 2020-12-15 10:19
 **/
class SingletonSimple {
    private static SingletonSimple singletonSimple;

    private SingletonSimple(){}

    static SingletonSimple getInstance() {
        if (singletonSimple == null) {
            singletonSimple = new SingletonSimple();
        }
        return singletonSimple;
    }
}
